Ext.namespace('GBIF');
Ext.namespace('GBIF.GeoSpatial');

if(GBIF.GeoSpatial.LayerConfig){
	Ext.apply(GBIF.GeoSpatial.LayerConfig.prototype, {
			title:'Layers'	
		,	txtSucess:'Sucess'
		,	txtNotice:'Notice'
		,	txtSucessMsg:'File was overwrite sucessfully.'
		,	txtNoticeMsg:'Enable to overwrite.'
	})
}

if(GBIF.GeoSpatial.LayerTree){
	Ext.apply(GBIF.GeoSpatial.LayerTree.prototype, {
			title:'Available Layers Configuration'
		,	txtNewFolder:'New Folder'
		,	txtSaveTreeConfig:'Save Tree Config'	
		,	txtAddFolder:'Add Folder'
		,	txtEditFolder:'Edit Node'
		,	txtDeleteFolder:'Delete Node'
		,	txtError:'Error'
		,	txtNodeError:'Please select node first.'
		,	txtRootNodeError:'Root node cannot be deleted.'
		,	txtConfirm:'Delete Layer/Folder'
		,	txtConfirmMsg1: 'All layer references will be removed from <b>' 
		,	txtConfirmMsg2:'</b>.<br>Are you sure you wish to delete this layer?'
		,	txtGBIFNodeError : "New folder can not be added in node type "
		,	txtOverwriteConfig:'Overwrite Config'
		,	txtRootNodeEditError:'Root node cannot be edited.'
	})
}

if(GBIF.GeoSpatial.Georss){
	Ext.apply(GBIF.GeoSpatial.Georss.prototype, {
			txtLoad:'Load'
		,	title:'GeoRss layer preview'	
		,	txtGeorssFeed:'Enter GeoRss Feed:'	
		,	txtUrlError:'Please enter GeoRSS URL'
		,	txtError:'Error'
	})
}

if(GBIF.GeoSpatial.Information){
	Ext.apply(GBIF.GeoSpatial.Information.prototype, {
			txtLayerName:'Layer Name'
		,	txtLayerTitle:'Layer Title'	
		,	txtDescription:'Description'	
		,	title:'Layer Information'
		,	txtDirectionsValue:'Please Enter Layer name & description here.'
	})
}

if(GBIF.GeoSpatial.KML){
	Ext.apply(GBIF.GeoSpatial.KML.prototype, {
			txtLoad:'Load'
		,	txtKMLFeed:'Enter KML Feed:'
		,	txtErrorMsg:'Please enter KML URL'	
		,	title:'KML layer perview'
	})
}

if(GBIF.GeoSpatial.WizardPanel){
	Ext.apply(GBIF.GeoSpatial.WizardPanel.prototype, {
			title:'Add Layer Wizard'
		,	txtBack:'Back'
		,	txtFinish:'Finish'
		,	txtNext:'Next'
		,	txtError:'Error'	
		,	txtLayerTypeError:'Select layers first.'
		,	txtUrlError:'Please Enter URL'
		,	txtLayerNameError:'Please enter Name of Layer.'
	})
}

if(GBIF.GeoSpatial.LayerTypes){
	Ext.apply(GBIF.GeoSpatial.LayerTypes.prototype, {
			txtDirectionValue:'Select map layer type to add it in available layer tree.'
		,	txtSelcetType:'Select Type'
		,	txtEmpty:'Select Layer'
		,	title: 'Layer Types'
	})
}

if(GBIF.GeoSpatial.WFSCapabilitiesGrid){
	Ext.apply(GBIF.GeoSpatial.WFSCapabilitiesGrid.prototype, {
			title:'WFS Capabilities'	
		,	txtAddLayer:'Add Layer'	
		,	txtError:'Error'	
		,	txtLayerTypeError:'Select layers first.'	
	})
}

if(GBIF.GeoSpatial.WFSCapabilitiesLayers){
	Ext.apply(GBIF.GeoSpatial.WFSCapabilitiesLayers.prototype, {
			txtWFSUrl:'WFS Server URL: '
		,	txtLoad:'Load'
		,	txtUrlError:'Please Enter Url'
		,	txtError:'Error'
		,	txtgeoMapPanelTitle:'Layer Perview'
	})
}

if(GBIF.GeoSpatial.WMSCapabilitiesGrid){
	Ext.apply(GBIF.GeoSpatial.WMSCapabilitiesGrid.prototype, {
			title:'WMS Capabilities'	
		,	txtAddLayer:'Add Layer'	
		,	txtError:'Error'	
		,	txtLayerTypeError:'Select layers first.'	
	})
}

if(GBIF.GeoSpatial.WMSCapabilitiesLayers){
	Ext.apply(GBIF.GeoSpatial.WMSCapabilitiesLayers.prototype, {
			txtWMSUrl:'WMS Server URL: '
		,	txtLoad:'Load'
		,	txtUrlError:'Please Enter Url.'
		,	txtError:'Error'
		,	txtgeoMapPanelTitle:'Layer Perview'
	})
}